package com.joaosavio.example;

import java.util.UUID;

import org.apache.commons.lang3.StringUtils;

/**
 * 
 * @author joaosavio
 * 
 */
public class HelloWorldServiceImpl implements HelloWorldService {

	/**
	 * 
	 */
	public String helloWorld(String name) {
		if (StringUtils.isBlank(name)) {
			return "Hello " + UUID.randomUUID().toString();
		}

		return "Hello " + name;
	}
}